package com.acme.task4;

public class Task4Arrays {
	public static void main(String[] args) {

		int array[] = new int[10];
		int c3=0; int c7=0; int c9=0;
		array[0] = 3;
		array[1] = 7;
		array[2] = 3;
		array[3] = 3;
		array[4] = 7;
		array[5] = 3;
		array[6] = 3;
		array[7] = 7;
		array[8] = 3;
		array[9] = 9;
		//...
		for (int i=0; i<10; i++){
			if (array[i]==3) c3=c3+1;
			if (array[i]==7) c7=c7+1;
			if (array[i]==9) c9=c9+1;
		}
		
		//TODO: print the following
		System.out.println("Number of 3: "+c3);
		System.out.println("Number of 7: "+c7);
		System.out.println("Number of 9: "+c9);
	}
}
